xen.git
19 years agobimodal: header file with protocol names.
kfraser@localhost.localdomain [Tue, 23 Jan 2007 14:45:41 +0000 (14:45 +0000)]
bimodal: header file with protocol names.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
19 years agolinux: Fix enable_irq() crash by removing a BUG_ON() assumption in our
kfraser@localhost.localdomain [Tue, 23 Jan 2007 13:39:20 +0000 (13:39 +0000)]
linux: Fix enable_irq() crash by removing a BUG_ON() assumption in our
event-channel retrigger() function. Also clean up bitmap usages.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XM-TEST] Allow building of ramdisk on x86_64
Alastair Tse [Tue, 23 Jan 2007 11:39:32 +0000 (11:39 +0000)]
[XM-TEST] Allow building of ramdisk on x86_64

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[LINUX] Force .data segment to be 4k aligned on i386
Ian Campbell [Tue, 23 Jan 2007 09:31:32 +0000 (09:31 +0000)]
[LINUX] Force .data segment to be 4k aligned on i386
by backporting git changeset c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4

This is required for kexec/kdump.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEND] Save model attribute for HVM VIFs
Alastair Tse [Mon, 22 Jan 2007 17:31:15 +0000 (17:31 +0000)]
[XEND] Save model attribute for HVM VIFs

This solves the problem of HVM VIFs forgetting their model config on
reboot.

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=867

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Fix get_dev_property_by_uuid
Alastair Tse [Mon, 22 Jan 2007 17:23:53 +0000 (17:23 +0000)]
[XEND] Fix get_dev_property_by_uuid

This patch replaces calls to get_dev_property() by calls to
get_dev_property_by_uuid() in XenAPI.py and fixes the implementation
of get_dev_property_by_uuid.

I am adding a test case to the xapi grouptests to verify the fixes.
There's a FIXME note in the test case which should be looked at.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[PV-on-HVM] Make PV drivers on HVM kernels work on older kernels after
Ian Campbell [Mon, 22 Jan 2007 17:10:27 +0000 (17:10 +0000)]
[PV-on-HVM] Make PV drivers on HVM kernels work on older kernels after
update to 2.6.18.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoFix failure to localise xm by preventing cd from writing to stdout
kfraser@localhost.localdomain [Mon, 22 Jan 2007 17:07:16 +0000 (17:07 +0000)]
Fix failure to localise xm by preventing cd from writing to stdout
which gets incorrectly captured as a value for the bash for loop.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[PVFB] Set keyboard layout of PVFB from configuration file.
kfraser@localhost.localdomain [Mon, 22 Jan 2007 16:27:03 +0000 (16:27 +0000)]
[PVFB] Set keyboard layout of PVFB from configuration file.

For example:
keymap = "ja"

Default remains en-us.

Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Tomohiro Takahashi <takatom@tokyo.ssg.fujitsu.com>
Signed-off-by: Masami Watanabe <masami.watanabe@jp.fujitsu.com>
19 years ago[PVFB] Support keymap localisation.
kfraser@localhost.localdomain [Mon, 22 Jan 2007 16:26:00 +0000 (16:26 +0000)]
[PVFB] Support keymap localisation.

Conversion to the scan code uses QEMU's function.
Moreover, keyboard support for PVFB uses QEMU's keymaps.
Keyboard default layout is en-us.

Signed-off-by: Junko Ichino <ichino.junko@jp.fujitsu.com>
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
Signed-off-by: Hirofumi Tsujimura <tsujimura.hirof@jp.fujitsu.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
19 years agoVTPM_TOOLS: Added support for QEMU to communicate with vTPM over UNIX
kfraser@localhost.localdomain [Mon, 22 Jan 2007 15:59:41 +0000 (15:59 +0000)]
VTPM_TOOLS: Added support for QEMU to communicate with vTPM over UNIX
socket for HVM guests.

Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
19 years agoPut gdb version in a variable in gdbbuild script.
kfraser@localhost.localdomain [Mon, 22 Jan 2007 15:58:27 +0000 (15:58 +0000)]
Put gdb version in a variable in gdbbuild script.
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agolinux/i386: widen physical address range
kfraser@localhost.localdomain [Mon, 22 Jan 2007 15:57:19 +0000 (15:57 +0000)]
linux/i386: widen physical address range

32on64 supports 168Gb for 32-bit guests, hence at least 38 bits must
be specified here. The foreign frame bit is MFN bit 31, so the maximum
valid value here would be 43.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agomerge
Ian Campbell [Mon, 22 Jan 2007 15:43:48 +0000 (15:43 +0000)]
merge

19 years agolinux/i386: relax highpte pinning/write-protecting
kfraser@localhost.localdomain [Mon, 22 Jan 2007 15:42:13 +0000 (15:42 +0000)]
linux/i386: relax highpte pinning/write-protecting
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] Consolidate multiple defintions of ELFNOTE_* accessor macros
Ian Campbell [Mon, 22 Jan 2007 15:40:12 +0000 (15:40 +0000)]
[XEN] Consolidate multiple defintions of ELFNOTE_* accessor macros

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[LINUX] Fix native build.
Ian Campbell [Mon, 22 Jan 2007 15:31:27 +0000 (15:31 +0000)]
[LINUX] Fix native build.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years ago[XEN] Avoid void* arithmetic in kexec ELF note manipulations.
Ian Campbell [Mon, 22 Jan 2007 15:29:04 +0000 (15:29 +0000)]
[XEN] Avoid void* arithmetic in kexec ELF note manipulations.

From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
19 years agoImplement clean return from save/restore failure (so that original
kfraser@localhost.localdomain [Mon, 22 Jan 2007 15:15:32 +0000 (15:15 +0000)]
Implement clean return from save/restore failure (so that original
domain can continue execution).
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
19 years ago[SVM] Remove ASID logic. Errata prevent this feature being used
kfraser@localhost.localdomain [Mon, 22 Jan 2007 14:13:26 +0000 (14:13 +0000)]
[SVM] Remove ASID logic. Errata prevent this feature being used
reliably in current SVM processor implementations.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRe-enable CONFIG_HOTPLUG_CPU by deafult for -xen? kernels.
Steven Hand [Mon, 22 Jan 2007 13:38:04 +0000 (13:38 +0000)]
Re-enable CONFIG_HOTPLUG_CPU by deafult for -xen? kernels.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[PYGRUB] Plumb bootloader I/O through xenconsole.
Tim Deegan [Mon, 22 Jan 2007 11:49:14 +0000 (11:49 +0000)]
[PYGRUB] Plumb bootloader I/O through xenconsole.

 - xend forwards console traffic between the running bootloader and a pty
   which it writes to the store so the xenconsole client can see it.
 - the xenconsole client handles the domain's console pty changing.
 - xm create no longer runs the bootloader.
 - pygrub gets '-i' option to explicitly request an interactive session.
 - xend unlocks the domain list during bootloading so that "xm console"
   can see the domain and attach to its console pty.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[PYGRUB] Add python module for POSIX ptsname(2) function.
Tim Deegan [Mon, 22 Jan 2007 11:49:11 +0000 (11:49 +0000)]
[PYGRUB] Add python module for POSIX ptsname(2) function.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[PYGRUB] Don't redraw the interactive menu screen if it doesn't need it.
Tim Deegan [Mon, 22 Jan 2007 11:49:05 +0000 (11:49 +0000)]
[PYGRUB] Don't redraw the interactive menu screen if it doesn't need it.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoFix byte-to-long bitmap conversions.
kaf24@localhost.localdomain [Sun, 21 Jan 2007 17:10:58 +0000 (17:10 +0000)]
Fix byte-to-long bitmap conversions.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agolinux: Fix x86/64 build (which is failing on some systems).
kaf24@localhost.localdomain [Sun, 21 Jan 2007 16:29:18 +0000 (16:29 +0000)]
linux: Fix x86/64 build (which is failing on some systems).
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years ago[LIBXC] Fix non-x86 build.
kaf24@localhost.localdomain [Sun, 21 Jan 2007 15:39:04 +0000 (15:39 +0000)]
[LIBXC] Fix non-x86 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoUnbreak 64bit build
Tim Deegan [Sat, 20 Jan 2007 14:33:43 +0000 (14:33 +0000)]
Unbreak 64bit build
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore cleanups 06: Let dom0 change domU's paging mode
Tim Deegan [Sat, 20 Jan 2007 11:40:52 +0000 (11:40 +0000)]
[HVM] Save/restore cleanups 06: Let dom0 change domU's paging mode

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years agoMerge
Tim Deegan [Sat, 20 Jan 2007 11:21:08 +0000 (11:21 +0000)]
Merge

19 years ago[HVM] Save/restore cleanups 05: save-format headers
Tim Deegan [Sat, 20 Jan 2007 11:17:42 +0000 (11:17 +0000)]
[HVM] Save/restore cleanups 05: save-format headers
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore cleanups 04: Move new domctls out of common code.
Tim Deegan [Sat, 20 Jan 2007 11:17:41 +0000 (11:17 +0000)]
[HVM] Save/restore cleanups 04: Move new domctls out of common code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore cleanups 03: IRQ
Tim Deegan [Sat, 20 Jan 2007 11:17:40 +0000 (11:17 +0000)]
[HVM] Save/restore cleanups 03: IRQ
IRQ, PIC, IOAPIC and LAPIC
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore cleanups 02: VCPU
Tim Deegan [Sat, 20 Jan 2007 11:17:39 +0000 (11:17 +0000)]
[HVM] Save/restore cleanups 02: VCPU
Save/restore vcpu state therough the streaming interface
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore cleanups 01: PIT
Tim Deegan [Sat, 20 Jan 2007 11:17:38 +0000 (11:17 +0000)]
[HVM] Save/restore cleanups 01: PIT
Define public structure for the saved PIT data and use it instead
of a series of explicit loads and stores.
Don't save ephemeral Xen timer structs; rebuild them instead.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[XEN] Remove bogus include reference.
kaf24@localhost.localdomain [Fri, 19 Jan 2007 23:53:54 +0000 (23:53 +0000)]
[XEN] Remove bogus include reference.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LIBXC] Refactor xc_domain_resume() into its own source file.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 18:32:28 +0000 (18:32 +0000)]
[LIBXC] Refactor xc_domain_resume() into its own source file.

The idea is that this file is where we will have two implementations
of 'suspend cancellation': one which the guest is aware of (and is
faster) and the other which does more work to avoid requiring guest
modifications.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Move hvm get/set domctl() commands to arch/x86/domctl.c.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 18:04:00 +0000 (18:04 +0000)]
[XEN] Move hvm get/set domctl() commands to arch/x86/domctl.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAllow XS_INTRODUCE to be used for rebinding the xenstore evtchn.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 17:58:30 +0000 (17:58 +0000)]
Allow XS_INTRODUCE to be used for rebinding the xenstore evtchn.
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
19 years ago[XEN] Support VCPU reset via DOMCTL_setvcpucontext.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 17:55:29 +0000 (17:55 +0000)]
[XEN] Support VCPU reset via DOMCTL_setvcpucontext.
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
19 years ago[XEN] New event-channel reset operation.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 17:20:57 +0000 (17:20 +0000)]
[XEN] New event-channel reset operation.
Plumbed through libxenctrl to python.

From: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoAdd unsuspend hook for resuming devices in the checkpoint parent.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 16:11:31 +0000 (16:11 +0000)]
Add unsuspend hook for resuming devices in the checkpoint parent.

Nothing uses it at the moment.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
19 years agoMake xen_suspend handle resume.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 16:06:09 +0000 (16:06 +0000)]
Make xen_suspend handle resume.

Don't destroy xenstore watches on suspend, and only recreate them when
resuming in a new domain. Likewise, only invoke frontend device resume
code when in a new domain (the resume functions all tear down the
existing function and wait for the backend to negotiate a new one,
which does not happen in the source domain).

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Add missing change for XS_RESUME.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:36:54 +0000 (15:36 +0000)]
[XEN] Add missing change for XS_RESUME.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoxenstore: add XS_RESUME command; export it to xend.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:28:34 +0000 (15:28 +0000)]
xenstore: add XS_RESUME command; export it to xend.

This clears the shutdown flag for a domain in xenstore, allowing
subsequent shutdowns of the same domain to fire the appropriate
watches.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
19 years agoAdd resumedomain domctl to resume a domain after checkpoint.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:23:41 +0000 (15:23 +0000)]
Add resumedomain domctl to resume a domain after checkpoint.
Export resumedomain domctl to libxc, xend.

Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
19 years ago[merge] with xen-unstable
Christian Limpach [Fri, 19 Jan 2007 15:11:44 +0000 (15:11 +0000)]
[merge] with xen-unstable

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[MINIOS] More cleanups for the ia64 port.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:09:39 +0000 (15:09 +0000)]
[MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years ago[MINIOS] Fix compile warnings with -O.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:08:15 +0000 (15:08 +0000)]
[MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years ago[TOOLS] Avoid void* arithmetic when parsing elf notes.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:05:20 +0000 (15:05 +0000)]
[TOOLS] Avoid void* arithmetic when parsing elf notes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Avoid void* arithmetic in elfnote code.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:03:02 +0000 (15:03 +0000)]
[XEN] Avoid void* arithmetic in elfnote code.
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[merge] with xen-unstable
Christian Limpach [Fri, 19 Jan 2007 14:48:57 +0000 (14:48 +0000)]
[merge] with xen-unstable

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[LIBXC] Handle trace-buffer cpumap endianness.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 14:41:17 +0000 (14:41 +0000)]
[LIBXC] Handle trace-buffer cpumap endianness.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
kfraser@localhost.localdomain [Fri, 19 Jan 2007 14:36:12 +0000 (14:36 +0000)]
[LIBXC] Convert between byte-based and 64-bit bitmap arrays. Use this
for conversion of the domctl_cpumap.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Convert between long-based and byte-based bitmap arrays.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 14:24:28 +0000 (14:24 +0000)]
[XEN] Convert between long-based and byte-based bitmap arrays.
Use this for conversion of the domctl_cpumap type on big-endian
systems.
Original patch from Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Whitespace cleanup.
Christian Limpach [Fri, 19 Jan 2007 13:43:17 +0000 (13:43 +0000)]
[HVM] Whitespace cleanup.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[MINIOS] Added domctl and sysctl hypercalls to the
kfraser@localhost.localdomain [Fri, 19 Jan 2007 12:11:52 +0000 (12:11 +0000)]
[MINIOS] Added domctl and sysctl hypercalls to the
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
19 years ago[XEN] Revert change to vcpu_guest_context which breaks guest ABI.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 12:03:51 +0000 (12:03 +0000)]
[XEN] Revert change to vcpu_guest_context which breaks guest ABI.

HVM save/restore needs to save/restore vcpu state via the new
stream-based load/save hypercalls.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM] Only update guest time on timer interrupt delivery if the guest time is in...
Christian Limpach [Fri, 19 Jan 2007 11:58:52 +0000 (11:58 +0000)]
[HVM] Only update guest time on timer interrupt delivery if the guest time is in the past.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoTidy up the restore path following HVM save/restore patches.
Ewan Mellor [Fri, 19 Jan 2007 10:12:39 +0000 (10:12 +0000)]
Tidy up the restore path following HVM save/restore patches.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoUpdate pygrub for new Solaris directory names.
john.levon@sun.com [Fri, 19 Jan 2007 02:19:54 +0000 (18:19 -0800)]
Update pygrub for new Solaris directory names.

Signed-off-by: John Levon <john.levon@sun.com>
19 years ago[HVM] Fix slow wallclock in x64 Vista. This is due to confusing a
kfraser@localhost.localdomain [Thu, 18 Jan 2007 18:54:28 +0000 (18:54 +0000)]
[HVM] Fix slow wallclock in x64 Vista. This is due to confusing a
timeout in the past vs. a timeout in the future when looking at a
32-bit HPET comparator.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[linux networking] Remove the code to allocate page sized skbs.
Christian Limpach [Thu, 18 Jan 2007 18:40:30 +0000 (18:40 +0000)]
[linux networking] Remove the code to allocate page sized skbs.
This is no longer used much since the default is to always copy packets
to guests.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoBuild PAE by default on x86_32.
kfraser@localhost.localdomain [Thu, 18 Jan 2007 18:39:07 +0000 (18:39 +0000)]
Build PAE by default on x86_32.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xen-ia64-unstable.hg
kfraser@localhost.localdomain [Thu, 18 Jan 2007 18:25:04 +0000 (18:25 +0000)]
Merge with xen-ia64-unstable.hg

19 years agoCopy vmlinuz to correct folder when make source on IA64 platform.
kfraser@localhost.localdomain [Thu, 18 Jan 2007 18:19:52 +0000 (18:19 +0000)]
Copy vmlinuz to correct folder when make source on IA64 platform.
Signed-off-by: Yongkang You <yongkang.you@intel.com>
19 years ago[ioemu] fix build - prototype for static function needs to be static.
Christian Limpach [Thu, 18 Jan 2007 18:09:07 +0000 (18:09 +0000)]
[ioemu] fix build - prototype for static function needs to be static.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoAllow vcpu_avail to be specified in the configuration file. Rationalise our
Ewan Mellor [Thu, 18 Jan 2007 17:48:59 +0000 (17:48 +0000)]
Allow vcpu_avail to be specified in the configuration file.  Rationalise our
use of online_vcpus and max_vcpu_id, keeping track of the configured value in
vcpus_number.

Fix HVM SMP configuration to use the XendDomainInfo.getVCpuCount() call that
is used everywhere else, rather than parsing it out of the device config.

Fix xm list to show the configured VCPU count when the VM is down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoFix get_config_value fix
Alastair Tse [Thu, 18 Jan 2007 17:24:40 +0000 (17:24 +0000)]
Fix get_config_value fix

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years agoFix get_config_value call.
Ewan Mellor [Thu, 18 Jan 2007 17:01:44 +0000 (17:01 +0000)]
Fix get_config_value call.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[HVM] Save/Restore: don't clobber page types in shadow code
Tim Deegan [Thu, 18 Jan 2007 16:48:12 +0000 (16:48 +0000)]
[HVM] Save/Restore: don't clobber page types in shadow code
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/restore: Sometimes the hg changeset is not available.
Tim Deegan [Thu, 18 Jan 2007 16:48:11 +0000 (16:48 +0000)]
[HVM] Save/restore: Sometimes the hg changeset is not available.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] Save/Restore: Various structures have changed
Tim Deegan [Thu, 18 Jan 2007 16:48:10 +0000 (16:48 +0000)]
[HVM] Save/Restore: Various structures have changed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[HVM] save restore: shadow fix
Tim Deegan [Thu, 18 Jan 2007 16:48:09 +0000 (16:48 +0000)]
[HVM] save restore: shadow fix

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
fix 2 shadow issues:
* restored guest's mem type_info are not correct
* remove annoying warnings when restore

enable smp:
turn on the vcpu when set_vcpu_context in restore as cpu hotplug is not feasible for HVM

19 years ago[HVM] save restore: guest memory handling
Tim Deegan [Thu, 18 Jan 2007 16:48:08 +0000 (16:48 +0000)]
[HVM] save restore: guest memory handling

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
add support for save/restore HVM guest memory

19 years ago[HVM] save restore: device model support
Tim Deegan [Thu, 18 Jan 2007 16:48:07 +0000 (16:48 +0000)]
[HVM] save restore: device model support

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
qemu's save/restore including vga acceleration support

19 years ago[merge] with xen-unstable
Christian Limpach [Thu, 18 Jan 2007 15:18:07 +0000 (15:18 +0000)]
[merge] with xen-unstable

19 years ago[linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter.
Christian Limpach [Thu, 18 Jan 2007 09:54:33 +0000 (09:54 +0000)]
[linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years agoRevert 13389; libfsimage version does not need to change after all.
Tim Deegan [Thu, 18 Jan 2007 09:24:40 +0000 (09:24 +0000)]
Revert 13389; libfsimage version does not need to change after all.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
19 years ago[IA64] Remove duplicate typedefs
awilliam@xenbuild2.aw [Thu, 18 Jan 2007 04:45:34 +0000 (21:45 -0700)]
[IA64] Remove duplicate typedefs

These are now defined in xen/include/xen/types.h

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
19 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Thu, 18 Jan 2007 04:31:22 +0000 (21:31 -0700)]
merge with xen-unstable.hg

19 years ago[IA64] Passing address of PSCB is not needed
awilliam@xenbuild2.aw [Thu, 18 Jan 2007 02:55:48 +0000 (19:55 -0700)]
[IA64] Passing address of PSCB is not needed

Since the address of PSCB is decided by xenolinux now,
passing address of PSCB to xenolinux is not needed.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Remove duplicate check is_running_on_xen
awilliam@xenbuild2.aw [Thu, 18 Jan 2007 02:51:40 +0000 (19:51 -0700)]
[IA64] Remove duplicate check is_running_on_xen

When these functions are called, it is running on XEN.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[IA64] Let Xen handle identity mapping for xenolinux region 7
awilliam@xenbuild2.aw [Thu, 18 Jan 2007 02:48:02 +0000 (19:48 -0700)]
[IA64] Let Xen handle identity mapping for xenolinux region 7

During kernel build in dom0, half of the resulting slow reflections
are alt DTLB misses.  Since we know Linux identity maps region 7,
Xen can handle the miss itself.  This reduces the system time component
of the kernel build by nearly 15%.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
19 years ago[XEN] Simplify CR3 switching code (remove slow path that allows old
kaf24@localhost.localdomain [Wed, 17 Jan 2007 22:27:56 +0000 (22:27 +0000)]
[XEN] Simplify CR3 switching code (remove slow path that allows old
page tables to be writable in new page tables -- shadow mode cannot
handle the failure case and it is easy to work around this in the
guest anyway). Also remove broken shadow-refcount compat-mode case.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix deferred mmu op logic.
kaf24@localhost.localdomain [Wed, 17 Jan 2007 21:07:43 +0000 (21:07 +0000)]
[XEN] Fix deferred mmu op logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[linux] Update to linux-2.6.18.
Christian Limpach [Wed, 17 Jan 2007 18:41:22 +0000 (18:41 +0000)]
[linux] Update to linux-2.6.18.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
--HG--
rename : linux-2.6-xen-sparse/include/asm-i386/mach-xen/setup_arch_pre.h => linux-2.6-xen-sparse/include/asm-i386/mach-xen/setup_arch.h
rename : patches/linux-2.6.17/blktap-aio-16_03_06.patch => patches/linux-2.6.18/blktap-aio-16_03_06.patch
rename : patches/linux-2.6.17/fix-ide-cd-pio-mode.patch => patches/linux-2.6.18/fix-ide-cd-pio-mode.patch
rename : patches/linux-2.6.17/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch => patches/linux-2.6.18/git-3566561bfadffcb5dbc85d576be80c0dbf2cccc9.patch
rename : patches/linux-2.6.17/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch => patches/linux-2.6.18/git-4bfaaef01a1badb9e8ffb0c0a37cd2379008d21f.patch
rename : patches/linux-2.6.17/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch => patches/linux-2.6.18/git-dbaab49f92ff6ae6255762a948375e4036cbdbd2.patch
rename : patches/linux-2.6.17/i386-mach-io-check-nmi.patch => patches/linux-2.6.18/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.17/ipv6-no-autoconf.patch => patches/linux-2.6.18/ipv6-no-autoconf.patch
rename : patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch => patches/linux-2.6.18/linux-2.6.19-rc1-kexec-move_segment_code-i386.patch
rename : patches/linux-2.6.17/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch => patches/linux-2.6.18/linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch
rename : patches/linux-2.6.17/net-csum.patch => patches/linux-2.6.18/net-csum.patch
rename : patches/linux-2.6.17/net-gso-5-rcv-mss.patch => patches/linux-2.6.18/net-gso-5-rcv-mss.patch
rename : patches/linux-2.6.17/net-gso-6-linear-segmentation.patch => patches/linux-2.6.18/net-gso-6-linear-segmentation.patch
rename : patches/linux-2.6.17/pmd-shared.patch => patches/linux-2.6.18/pmd-shared.patch
rename : patches/linux-2.6.17/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.18/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch
rename : patches/linux-2.6.17/series => patches/linux-2.6.18/series
rename : patches/linux-2.6.17/x86-elfnote-as-preprocessor-macro.patch => patches/linux-2.6.18/x86-elfnote-as-preprocessor-macro.patch
rename : patches/linux-2.6.17/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.18/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.17/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.18/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.17/xen-hotplug.patch => patches/linux-2.6.18/xen-hotplug.patch
rename : patches/linux-2.6.17/xenoprof-generic.patch => patches/linux-2.6.18/xenoprof-generic.patch

19 years agoExport XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
kfraser@localhost.localdomain [Wed, 17 Jan 2007 16:42:34 +0000 (16:42 +0000)]
Export XEN_TARGET_ARCH to buildconfig sub-Makefiles even if it is not
specified on the command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] A few emulator fixes.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 15:41:39 +0000 (15:41 +0000)]
[XEN] A few emulator fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[MINIOS] New make structure to support different architectures.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 15:09:50 +0000 (15:09 +0000)]
[MINIOS] New make structure to support different architectures.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years ago[HVM] i8254: Fix bogus use of current
kfraser@localhost.localdomain [Wed, 17 Jan 2007 15:03:27 +0000 (15:03 +0000)]
[HVM] i8254: Fix bogus use of current

The function pit_load_count incorrectly references current for
determining whether the channel number is zero.  This breaks
when starting a new guest because current points to dom0.

The fix is to explicitly pass the address for verification.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 years agolinux: Allow microcode updates of smaller than default size.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:58:53 +0000 (14:58 +0000)]
linux: Allow microcode updates of smaller than default size.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
19 years agoMicrocode does not need to have the default size of 2000+48 bytes.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:57:59 +0000 (14:57 +0000)]
Microcode does not need to have the default size of 2000+48 bytes.
A corresponding patch has gone into Linux 2.6.19; this is the
port to Xen.

Signed-off-by: Kurt Garloff <kurt@garloff.de>
Reference: Patch to linux kernel from Sep 27 2006
> # User Shaohua Li <shaohua.li@intel.com>
> # Node ID 45898b908138b5d93c2cc7353f061ce54af145dc
> # Parent  f962eab7b82c9bf1a6da69571046e764f5128395
> [PATCH] x86 microcode: don't check the size
>
> IA32 manual says if micorcode update's size is 0, then the size is
> default size (2048 bytes). But this doesn't suggest all microcode
> update's size should be above 2048 bytes to me. We actually had a
> microcode update whose size is 1024 bytes. The patch just removed
> the check.
>
> Signed-off-by: Shaohua Li <shaohua.li@intel.com>
> Cc: Tigran Aivazian <tigran@veritas.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
>
> committer: Linus Torvalds <torvalds@g5.osdl.org> 1159370778 -0700

19 years ago[XEND] Fix warning about 'cpus' option on domain creation.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:54:59 +0000 (14:54 +0000)]
[XEND] Fix warning about 'cpus' option on domain creation.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoAdd scheduler name to 'xm info' output.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:54:06 +0000 (14:54 +0000)]
Add scheduler name to 'xm info' output.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agolinux/i386: enhance dump_fault_path() in the highpte case
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:45:00 +0000 (14:45 +0000)]
linux/i386: enhance dump_fault_path() in the highpte case

As long as the pte page isn't really located in highmem, there is no
reason to not access it, in order to print the complete page table
hierarchy. A functionally similar patch will go to lkml for native
Linux.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] Fix PAE writable-pte fixup to only trigger on writes to upper
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:37:45 +0000 (14:37 +0000)]
[XEN] Fix PAE writable-pte fixup to only trigger on writes to upper
half the the PAE PTE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years agoDocument vfb configuration.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 14:03:12 +0000 (14:03 +0000)]
Document vfb configuration.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
19 years ago[XEN] Include byteorder functions from Linux.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 12:11:02 +0000 (12:11 +0000)]
[XEN] Include byteorder functions from Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LIBFSIMAGE] Fix makefile to track version number change
Tim Deegan [Wed, 17 Jan 2007 10:33:13 +0000 (10:33 +0000)]
[LIBFSIMAGE] Fix makefile to track version number change
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>